package com.springboot.demo.proxy.statics;

/*
 *DATE:2025/7/8
 */
public class TargetProxy implements Targetln{
    private Targetln target;

    public TargetProxy(Targetln target) {
        this.target = target;
    }

    @Override
    public void targetMethod() {
        System.out.println("前置增强");
        target.targetMethod();
        System.out.println("后置增强");
    }
}
